<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:a="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich"
    xmlns:rg="http://www.ruijie.com.cn/faces/ui"
    xmlns:c="http://java.sun.com/jstl/core"
    template="/layout/dialogLayout.xhtml">  
    <ui:param name="param_pageTitle" value="发送短信" />
    <ui:param name="id" value="add" />
    <ui:define name="content">
      <ui:decorate template="/components/formTemplate.xhtml">
            <ui:param name="param_headerTitle" value="发送短信" />
            <ui:define name="fields">
                    <rg:inputArea id="content"  required="true"  label="发送内容" value="#{memberAction.smsContent}" 
                    	textStyle="width:256px;"
                    />
            </ui:define>
            <ui:define name="panelButton">
                <a:commandButton styleClass="button"
                    value="#{messages.btn_complete}" onclick="UI.instance.showMask()"
                    oncomplete="UI.instance.reRender('reRenderOrderCustomer');"
                    action="#{memberAction.sendSms()}"
                    reRender="#{id}Scripts,globalMessage" />
                <input type="button" class="button" value="#{messages.btn_cancel}"
                    onclick="javascript:DialogLayout.instance.close();" />
            </ui:define>
            </ui:decorate>
    </ui:define>
</ui:composition>